package cn.tedu.csmall520.stock.webapi.quartz;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.time.LocalDateTime;

@Slf4j

public class QuartzJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        //当前Job是为了测试quartz效果的测试类,输出当前时间作为简单操作
        log.info("=================================="+LocalDateTime.now()+"==================================");
    }

}
